import api from './index'

// 用户端和医师端公用接口
export default {
  // 获取banner图
  fetchBannerList: (params) => api.get('/ba/banner/list', params),
  // 获取支付参数
  fetchPayParams: (params) => api.post('/ba/order/appWxPayOrder', params),
  // 康复训练计划列表
  fetchPlanList: (params) => api.get('/ba/plan/list', params),
  // 康复训练计划详情
  fetchPlanDetail: (params) => api.get('/ba/plan/' + params.id, params),
}